package it.koutifaris.travianmap.ui;

import it.koutifaris.travianmap.R;
import it.koutifaris.travianmap.model.Tribe;

public class TribeResourceMapper {

	public int getResourceFor(Tribe tribe) {
		switch (tribe) {
		case GAUL:
			return R.drawable.gaul_village;
		case NATARS:
			return R.drawable.natar_village;
		case ROMAN:
			return R.drawable.roman_village;
		case TEUTON:
			return R.drawable.teuton_village;
		default:
			throw new IllegalArgumentException(tribe + " has no resource associated");
		}
	}

}
